﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.UI;
using TA.DotNetUtils;

namespace TA.Turbo.Controls
{
	/// <summary>
	/// Base class for all <see cref="Repeater"/> sub-controls.
	/// </summary>
	public abstract class BaseRepeaterControl : Control
	{
		/// <summary>
		/// Ctor.
		/// </summary>
		/// <param name="repeater"></param>
		public BaseRepeaterControl(Repeater repeater)
		{
			this._repeater = repeater;
		}
		/// <summary>
		/// Gets the owner <see cref="Repeater"/> control.
		/// </summary>
		public Repeater Repeater
		{
			get { return this._repeater; }
		}
		Repeater _repeater;
	}
}